﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// TouristRegistration
	/// </summary>
    [Serializable]
	public class TouristRegistrationData
	{
		/// <summary>
		/// TouristID
        /// </summary>
        [FieldName("TouristID")]		
		public int TouristID
		{
			get;
			set;
		}
        
		/// <summary>
		/// TouristName
        /// </summary>
        [FieldName("TouristName")]		
		public string TouristName
		{
			get;
			set;
		}
        
		/// <summary>
		/// TouristPassword
        /// </summary>
        [FieldName("TouristPassword")]		
		public string TouristPassword
		{
			get;
			set;
		}
        
		/// <summary>
		/// TouristPhone
        /// </summary>
        [FieldName("TouristPhone")]		
		public string TouristPhone
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegistrationDate
        /// </summary>
        [FieldName("RegistrationDate")]		
		public DateTime RegistrationDate
		{
			get;
			set;
		}
        
		/// <summary>
		/// Gender
        /// </summary>
        [FieldName("Gender")]		
		public string Gender
		{
			get;
			set;
		}
        
		/// <summary>
		/// BirthDate
        /// </summary>
        [FieldName("BirthDate")]		
		public DateTime BirthDate
		{
			get;
			set;
		}
        
        public TouristRegistrationData Clone()
        {
            return (TouristRegistrationData)this.MemberwiseClone();
        }
        
        public TouristRegistrationData()
        {
            TouristName = string.Empty;
            TouristPassword = string.Empty;
            TouristPhone = string.Empty;
            RegistrationDate = ConvertHelper.DefaultDate;
            Gender = string.Empty;
            BirthDate = ConvertHelper.DefaultDate;
        }
	}
}
